package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.PostComments;

/**
 * 帖子评论Mapper接口
 * 
 * @author zrj
 * @date 2025-07-15
 */
public interface PostCommentsMapper 
{
    /**
     * 查询帖子评论
     * 
     * @param postCommentId 帖子评论主键
     * @return 帖子评论
     */
    public PostComments selectPostCommentsByPostCommentId(Long postCommentId);

    /**
     * 查询帖子评论列表
     * 
     * @param postComments 帖子评论
     * @return 帖子评论集合
     */
    public List<PostComments> selectPostCommentsList(PostComments postComments);

    /**
     * 新增帖子评论
     * 
     * @param postComments 帖子评论
     * @return 结果
     */
    public int insertPostComments(PostComments postComments);

    /**
     * 修改帖子评论
     * 
     * @param postComments 帖子评论
     * @return 结果
     */
    public int updatePostComments(PostComments postComments);

    /**
     * 删除帖子评论
     * 
     * @param postCommentId 帖子评论主键
     * @return 结果
     */
    public int deletePostCommentsByPostCommentId(Long postCommentId);

    /**
     * 批量删除帖子评论
     * 
     * @param postCommentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePostCommentsByPostCommentIds(Long[] postCommentIds);
}
